Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Lotus Expeditor wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL forums and blogs
  • Home
  • Product Documentation
  • Community Articles
Search
Community Articles > Expeditor Client for Desktop > Sample: Accounts Framework
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Sample: Toolbar and Menu Contributions

Expeditor user interface team best practices on toolbar and menu contributions

Sample: Component Properties

OverviewComponent properties allow developers to create code that at compile time has specific function but accepts flexible input at runtime. For example, a developer can create a component that uses a predefined component property to update the title tab's text within a composite ...

Sample: Multiuser Features

Overview When multiple users share the same workstation, the configuration is referred to as a multiuser installation. This means that a single Expeditor client exists and is shared among all users; however, each user has their own workspace containing configuration details specific to that ...

Sample: Starting Plugins

Overview By default, Eclipse plugins are lazy. Lazy is the technical term (located in the bundle's manifest) that means that plugins are started when a request is either directly made by the Platform to start the plugin or indirectly through class loading. For example, the latter case implies ...

Sample: HTTP Communication

Overview The enhanced HTTP client in Expeditor allows developers to quickly create code that requests data from remote servers over HTTP or HTTPS. The enhanced client wraps the standard Java URLConnectionclasses such that authenticated requests leverage the Accounts framework and HTTPS ...
Community articleSample: Accounts Framework
Added by ~Tip Desachekli | Edited by IBM contributor~Lily Minlusteretsi on October 5, 2010 | Version 3
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
The accounts framework provides a programmatic means of creating, accessing, and interacting with account data.
Tags: accounts, samples
ShowTable of Contents
HideTable of Contents
  • 1 Overview
  • 2 Accounts Framework
  • 3 Sample Details
    • 3.1 com.ibm.rcp.support.accounts Plugin
  • 4 Running the Sample

Overview


The accounts framework provides a programmatic means of creating, accessing, and interacting with account data. Account information can be used to authenticate with various IBM application servers or used to securely store data used by other plugins. Accounts can contain both persistent and transient data.

Accounts Framework


Accounts may be created and access through the Accounts preference page. A predefined account is the Home Portal Account used to access composite applications within WebSphere Portal.



Account information is used to pass credentials to the corresponding application server. The embedded browser and Java .net classes are integrated with the accounts API. For example, opening the URL http://dpi-portvm.atlanta.ibm.com/wps/myportal automatically authenticates the Home Portal Account. This is because the URL in the browser address matches the Server URL in the Home Portal Account. At a high level, the following occurs.
  1. Compare the URL in the embedded browser's address bar to the Server values in Accounts. The Server value will be parsed when comparing; it is not necessary to match the Account's Server value to the server is the URL.
  2. An authentication attempt is made to the Authentication URL. If no Authentication URL is supplied, an attempt is made to the Server listed in the Account.
  3. Any tokens provided during authentication will be re-used by the Accounts framework.

Sample Details


Sample code is being moved. This article will be updated when posting is complete.

com.ibm.rcp.support.accounts Plugin


The accounts plugin provides an extensible means of adding accounts to the Expeditor platform. Contributors can add extensions to declaratively define account information. The plugin consumes these extensions and creates the resulting Expeditor Account. Consult the plugin.xml to reference mock accounts. These accounts will be auto-created when the platform launches.



Running the Sample


To execute the sample, simply add the plugin to the Expeditor platform. The plugin creates accounts through the IStartup extension when Expeditor launches.

  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (3)
collapsed Versions (3)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (3)Oct 5, 2010, 3:18:33 PM~Lily Minlusteretsi  IBM contributor
2Oct 5, 2010, 1:01:08 PM~Lily Minlusteretsi  IBM contributor
1Sep 22, 2010, 7:55:52 PM~Tip Desachekli  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software Support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL Software
  • Privacy
  • Accessibility